<?php 
    setcookie("city","湖北",time()+60*60*1);
    setcookie("district","鄂州7",time()+60*60*1);
    
    $city = $_COOKIE["city"];
    $district = $_COOKIE["district"];
    
    echo $city;
    echo $district;
    //删除
//     setcookie("city","",time()-60*60*1);
//     setcookie("district","",time()-60*60*1);
?>